<!-- Afficher backOffice si Admin se connecte -->
<h1>Chambres List</h1>

<table>
  <thead>
    <tr>
      <th>Id chambre </th>
      <th>Nom chambre </th>
    </tr>
  </thead>
  <tbody>
  
  
    <?php foreach ($chambres as $chambre): ?>
		    <tr>
		      <td><a href="<?php echo url_for('chambre/show?id_chambre='.$chambre->getIdChambre()) ?>"><?php echo $chambre->getIdChambre() ?></a> </td>
		      <td><?php echo $chambre->getNomChambre() ?> </td>
		    </tr>
    <?php endforeach; ?>
    
  </tbody>
</table>

<a href="<?php echo url_for('chambre/new') ?>">Ajouter une suite</a>

<!-- Afficher frontOffice si utilisateur se connecte -->

      	<div class="gallery">
            <ul>
               <li><a href="#"><img alt="" src="../images/2page-img1.jpg" /></a></li>
               <li><a href="#"><img alt="" src="../images/2page-img2.jpg" /></a></li>
               <li><a href="#"><img alt="" src="../images/2page-img3.jpg" /></a></li>
               <li><a href="#"><img alt="" src="../images/2page-img4.jpg" /></a></li>
               <li><a href="#"><img alt="" src="../images/2page-img5.jpg" /></a></li>
               <li><a href="#"><img alt="" src="../images/2page-img6.jpg" /></a></li>
            </ul>
         </div>
			<div class="container">
            <div class="aside maxheight">
            	<!-- box begin -->
               <div class="box maxheight">
               	<div class="inner">
                  	<h3>Browse Images</h3>
                     <div class="gallery-images">
                        <ul>
                           <li><a href="#"><img alt="" src="../images/3page-img1.jpg" /></a></li>
                           <li><a href="#"><img alt="" src="../images/3page-img2.jpg" /></a></li>
                           <li><a href="#"><img alt="" src="../images/3page-img3.jpg" /></a></li>
                           <li><a href="#"><img alt="" src="../images/3page-img4.jpg" /></a></li>
                           <li><a href="#"><img alt="" src="../images/3page-img5.jpg" /></a></li>
                           <li><a href="#"><img alt="" src="../images/3page-img6.jpg" /></a></li>
                           <li><a href="#"><img alt="" src="../images/3page-img7.jpg" /></a></li>
                           <li><a href="#"><img alt="" src="../images/3page-img8.jpg" /></a></li>
                           <li><a href="#"><img alt="" src="../images/3page-img9.jpg" /></a></li>
                           <li><a href="#"><img alt="" src="../images/3page-img10.jpg" /></a></li>
                           <li><a href="#"><img alt="" src="../images/3page-img11.jpg" /></a></li>
                           <li><a href="#"><img alt="" src="../images/3page-img12.jpg" /></a></li>
                        </ul>
                     </div>
                  </div>
               </div>
               <!-- box end -->
            </div>
            <div class="content">
            	<div class="indent">
               	<h2>Hotel’s picture gallery</h2>
                  <div class="gallery-main png">
                  	<div class="inner">
                     	<img alt="" src="../images/3page-img13.jpg" />
                        <div class="prev"><a href="#"><img alt="" src="../images/prev.png" class="png" /></a></div>
                        <div class="next"><a href="#"><img alt="" src="../images/next.png" class="png" /></a></div>
                     </div>
                  </div>
               </div>
            </div>
            <div class="clear"></div>
         </div>
		</div>
